package com.sg.bars.server.kernel.dao;

import java.io.Serializable;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;

import org.springframework.orm.jpa.support.JpaDaoSupport;

public class JpaDaoImpl extends JpaDaoSupport implements JpaDao, Serializable{
	private static final long serialVersionUID = 1L;

	@Override
	public EntityManagerFactory getEMFactory() {
		return getJpaTemplate().getEntityManagerFactory();
	}

	@Override
	public EntityManager getEM() {
		return getJpaTemplate().getEntityManager();
	}
	

}
